<?php

/**
 * RaiseStaticClass static abstact class
 * to prevent construction or cloning of a class
 *
 * @author Sam-Mauris Yong / hellclanner at live dot com
 * @license http://www.opensource.org/licenses/bsd-license New BSD License
 * @package phpraise.core
 * @abstract
 * @since 1.2
 */
abstract class RaiseStaticClass {

    /**
     * Deny construction of a static class
     */
    function __construct(){
        throw new RaiseStaticClassConstructionException('Class "' . get_class($this) . '" was called to construction. Construction is not allowed for static classes. ');
    }

}